﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using SynoManager.GUI;
using SynoManager.Utils;

namespace SynoManager.DownloadStation
{
    public partial class FilesPreferencesPanel : PreferencesPanel
    {
        private readonly DownloadStationService service;

        public FilesPreferencesPanel()
        {
            InitializeComponent();
        }

        public FilesPreferencesPanel(DownloadStationService service)
            :this()
        {
            this.service = service;
        }

        private void button2_Click(object sender, EventArgs e)
        {
            FileAssociation.AssociateNZB();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            FileAssociation.AssociateTorrents();
        }

        public override void Save()
        {
            // Nothing to save
        }
    }
}
